package cn.zhf.shop.entity;

import cn.zhf.shop.config.IgnoreSwaggerParameter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value = "cn-zhf-shop-entity-AgentApplication")
@Data
@NoArgsConstructor
public class AgentApplication {
    /**
     * 代理人申请id
     */
    @ApiModelProperty(value = "申请id")
    private Integer agentApplicationId;

    /**
     * 代理人id
     */
    @ApiModelProperty(value = "代理人id")
    private Integer agentApplicationUserId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String agentApplicationTitle;

    /**
     * 申请级别
     */
    @ApiModelProperty(value = "申请级别")
    private Integer agentApplicationLevel;

    /**
     * 原因
     */
    @ApiModelProperty(value = "原因")
    private String agentApplicationReason;

    /**
     * 申请文件
     */
    @ApiModelProperty(value = "申请文件")
    private String agentApplicationFile;

    /**
     * 申请状态
     */
    @ApiModelProperty(value = "申请状态 0：未审核 1：已通过 2：驳回")
    private Integer agentApplicationStatus;

    /**
     * 提交时间
     */
    @ApiModelProperty(value = "提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date agentApplicationPostTime;

    @IgnoreSwaggerParameter
    private ConsoleUser consoleUser;
}